package com.jingogo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jingogo.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单 Mapper 接口
 * 
 * @author jingogo
 * @since 2024 - 01 - 01
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {

    /**
     * 根据订单号查询订单
     * @param orderNo 订单号
     * @return 订单实体
     */
    Order selectByOrderNo(@Param("orderNo") String orderNo);
}
